<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function Person() {
			
		}
		Person.prototype.sayHello = function () {
			console.log("nice to meet you");
		}
		var p = new Person();
		
		p.sayHello();
		Person.prototype = {
			
		}
		
    </script>
</head>
<body>

</body>
</html>